Package com.cisco.pt.ipc.sim.pdu.impl
Class BgpUpdateImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.BgpPacketImpl
com.cisco.pt.ipc.sim.pdu.impl.BgpUpdateImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.BgpPacketImpl
length, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getNLRI()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidsetPathAttributeLength(Short pathAttributeLength) voidsetPathAttributes(List<BgpAttribute> pathAttributes) voidsetUnfeasibleLength(Short unfeasibleLength) voidsetWithdrawnRoutes(List<BgpPrefix> withdrawnRoutes) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.BgpPacketImpl
getLength, getType, setLength, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.BgpPacket
getLength, getType, setLength, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
unfeasibleLength
-
withdrawnRoutes
-
pathAttributeLength
-
pathAttributes
-
NLRI
-
-
Constructor Details
-
BgpUpdateImpl
public BgpUpdateImpl()
-
-
Method Details
-
getUnfeasibleLength
- Specified by:
getUnfeasibleLengthin interfaceBgpUpdate- Returns:
- Short Returns a Short
-
setUnfeasibleLength
- Specified by:
setUnfeasibleLengthin interfaceBgpUpdate- Parameters:
unfeasibleLength- Takes in a parameter of unfeasibleLength
-
getWithdrawnRoutes
- Specified by:
getWithdrawnRoutesin interfaceBgpUpdate- Returns:
- List<BgpPrefix> Returns a List<BgpPrefix>
-
setWithdrawnRoutes
- Specified by:
setWithdrawnRoutesin interfaceBgpUpdate- Parameters:
withdrawnRoutes- Takes in a parameter of withdrawnRoutes
-
getPathAttributeLength
- Specified by:
getPathAttributeLengthin interfaceBgpUpdate- Returns:
- Short Returns a Short
-
setPathAttributeLength
- Specified by:
setPathAttributeLengthin interfaceBgpUpdate- Parameters:
pathAttributeLength- Takes in a parameter of pathAttributeLength
-
getPathAttributes
- Specified by:
getPathAttributesin interfaceBgpUpdate- Returns:
- List<BgpAttribute> Returns a List<BgpAttribute>
-
setPathAttributes
- Specified by:
setPathAttributesin interfaceBgpUpdate- Parameters:
pathAttributes- Takes in a parameter of pathAttributes
-
getNLRI
-
setNLRI
-
getFieldType
- Overrides:
getFieldTypein classBgpPacketImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classBgpPacketImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classBgpPacketImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classBgpPacketImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classBgpPacketImpl
-